package com.acdc.wechat.dto;

/**
 * 微信授权响应数据传输对象
 * 用于封装从微信授权接口获取的响应信息
 */
public class WechatAuthResponse {
    // 网页授权接口调用凭证
    private String accessToken;
    
    // 用户唯一标识
    private String openId;
    
    // 用户授权的作用域
    private String scope;
    
    // 授权刷新令牌
    private String refreshToken;
    
    // 授权码过期时间（秒）
    private Integer expiresIn;
    
    // Getter and Setter methods
    public String getAccessToken() {
        return accessToken;
    }
    
    public void setAccessToken(String accessToken) {
        this.accessToken = accessToken;
    }
    
    public String getOpenId() {
        return openId;
    }
    
    public void setOpenId(String openId) {
        this.openId = openId;
    }
    
    public String getScope() {
        return scope;
    }
    
    public void setScope(String scope) {
        this.scope = scope;
    }
    
    public String getRefreshToken() {
        return refreshToken;
    }
    
    public void setRefreshToken(String refreshToken) {
        this.refreshToken = refreshToken;
    }
    
    public Integer getExpiresIn() {
        return expiresIn;
    }
    
    public void setExpiresIn(Integer expiresIn) {
        this.expiresIn = expiresIn;
    }
}
